package com.lianxian.xindong.me.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.me.di.module.MyInterestModule;
import com.lianxian.xindong.me.mvp.contract.MyInterestContract;

import com.hxb.library.di.scope.ActivityScope;
import com.lianxian.xindong.me.mvp.ui.activity.MyInterestActivity;


/**
 * @作者：hexingbo
 * @时间：07/08/2023
 * @描述：
 */
@ActivityScope
@Component(modules = MyInterestModule.class, dependencies = AppComponent.class)
public interface MyInterestComponent {
    void inject(MyInterestActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MyInterestComponent.Builder view(MyInterestContract.View view);

        MyInterestComponent.Builder appComponent(AppComponent appComponent);

        MyInterestComponent build();
    }
}